package com.office.anywher.org;

import org.json.JSONException;

import com.office.anywher.beans.Params;
import com.office.anywher.https.HttpClientService;
import com.office.anywher.offcial.entity.IData;

public class DataPackageOrg extends IData{
	public DataPackageOrg(){};
	public DataPackageOrg(String json) throws JSONException {
		super(json);
	}
	@Override
	public IData[] getDataFromJson(HttpClientService context,Params param,String url)throws Exception {
		return context.getOrgs(url, param==null?null:param.mOrangId);
	}
}
